IMotion.MoveDirectAbsolute method

Commands a movement of an axis group to a specified absolute position in the specified coordinate system without taking care of how (on which path) the target position is reached.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsCommandStatus MoveDirectAbsolute(
       int Index,
       double[] Position,
       double VelRatio,
       double AccRatio,
       double DecRatio,
       double JerkRatio,
       McCoordSystem CoordSystem,
       McBufferMode BufferMode,
       McTransitionMode TransitionMode,
       double[] TransitionParameter
)
Function MoveDirectAbsolute(
       Index As Integer,
       Position As Double(),
       VelRatio As Double,
       AccRatio As Double,
       DecRatio As Double,
       JerkRatio As Double,
       CoordSystem As McCoordSystem,
       BufferMode As McBufferMode,
       TransitionMode As McTransitionMode,
       TransitionParameter As Double()
) As KsCommandStatus

Parameters

Index [in]

Type: int

The index of an axis group. Indexes are zero based. You can have up to 32 groups.

 

Position [in]

Type: double[]

The array of absolute end positions for each dimension in the specified coordinate system. The maximum size is 64.

 

VelRatio [in]

Type: double

The ratio that adjusts the maximum velocity of each axis in a group. The value's range is 0.0 - 1.0, which means 0% - 100%. For example, if the max velocity of Axis A and B in a group is 1000 and 800 and you enter 0.8, A and B's max velocity will become 800 and 640, respectively.

 

AccRatio [in]

Type: double

The ratio that adjusts the maximum acceleration of each axis in a group. The value's range is 0.0 - 1.0, which means 0% - 100%. For example, if the max acceleration of Axis A and B in a group is 1000 and 800 and you enter 0.8, A and B's max acceleration will become 800 and 640, respectively.

 

DecRatio [in]

Type: double

The ratio that adjusts the maximum deceleration of each axis in a group. The value's range is 0.0 - 1.0, which means 0% - 100%. For example, if the max deceleration of Axis A and B in a group is 1000 and 800 and you enter 0.8, A and B's max deceleration will become 800 and 640, respectively.

 

JerkRatio [in]

Type: double

The ratio that adjusts the maximum jerk of each axis in a group. The value's range is 0.0 - 1.0, which means 0% - 100%. For example, if the max jerk of Axis A and B in a group is 1000 and 800 and you enter 0.8, A and B's max jerk will become 800 and 640, respectively.

 

CoordSystem [in]

Type: McCoordSystem

A coordinate system.

 

BufferMode [in]

Type: McBufferMode

Defines the chronological sequence of a method.

 

TransitionMode [in]

Type: McTransitionMode

Inserts a transition curve.

 

TransitionParameter [in]

Type: double[]

The additional parameter for the transition mode. If TransitionMode is set to mcNone, this parameter has no effect.

Return value

Type: KsCommandStatus

Returns the KsCommandStatus class.

Remarks

Examples

C#
N/A

See also

IMotion Interface

IntervalZero.KINGSTAR.Base.Api Namespace